package scau.filesystem.controller;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class ContentInfoProperty {
	private final StringProperty filename;
	private final StringProperty type;
	private final StringProperty length;
	private final StringProperty message;
	public ContentInfoProperty(String filename,String type,String length,String message){
		this.filename=new SimpleStringProperty(filename);
		this.type=new SimpleStringProperty(type);
		this.length=new SimpleStringProperty(length);
		this.message=new SimpleStringProperty(message);
	}
	public void setFilename(String filename){
		this.filename.set(filename);
	}
	public String getFilename() {
		return filename.get();
	}
	
	public void setType(String type){
		this.type.set(type);
	}
	public String getType() {
		return type.get();
	}
	public void setLength(String length){
		this.length.set(length);
	}
	public String getLength() {
		return length.get();
	}
	public void setContent(String message){
		this.message.set(message);
	}
	public String getMessage() {
		return message.get();
	}
	public StringProperty filenameProperty(){
		return filename;
	}
	public StringProperty typeProperty(){
		return type;
	}
	public StringProperty lengthProperty(){
		return length;
	}
	public StringProperty messageProperty(){
		return message;
	}

}
